Repository navigation
crypto: one verb: crypto::encode and crypto::decode removed, crypto's types declared to codecs, PEM's label in its type - #23
Merged
Merged
Conversation
added 26 commits
December 2, 2026 21:56
…e_pem removed; an input past a pair's bound is input_too_long on every path
…ry target prints alike
…rmor's own state's wipes, a payload of its size in the corpus
…r the limit (lint fix)
…EM's label is in its type; the members call codecs' verbs
…emoved (lint fix)
…ith one sentence; an armor label compared by its value; the JWK toy's list noted
…::encode and crypto::decode removed
…the same errors on every toolchain; messages page regenerated
…'s label in its type and input_too_long past a format's bound
…thin it; the resource member's refusal as built; lines wrapped
…ugh every verb, past the bound of 48; the size rows within the bound; README and formats.adoc lines wrapped
…es with crypto's sentence that it decodes from a text, its one error
…lso through codecs' verbs and the members
…types, never with itself
…th a resource against codecs::decode
…say; errors.adoc row rewrapped
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
crypto's change
one-verb(webcpporg/proposals,libraries/crypto/openspec/changes/one-verb/, owner decision 29). It builds on codecs#3.crypto::encodeandcrypto::decodeare removed with no alias. Every caller, test, example and page now writescodecs::encodeandcodecs::decode, and the members are unchanged.codecs::value_formats. D3's sentences keep their texts, and codecs gives the type's list for a format the type does not have.formats::pem_t<F>iscodecs::over<codecs::formats::basic_armor<detail::pem_label<F>>, F>. No verb can write or read another label, and every PEM result is exactly as long as its longest text.overin place.detail::decode_pemis removed.codecs::error::input_too_longon every path, and each pair's largest valid input is pinned to decode.keypair::decode(format, input, memory_resource)accepts raw, pkcs8 and pem(pkcs8). Any other format stops the build with one sentence.Verified locally on the final head, with no CI run (owner's rule):
generate.py --checkandgenerate_test;🤖 Generated with Claude Code